//
//  GroupMembersCell.m
//  AAIM
//
//  Created by awh on 2019/12/15.
//  Copyright © 2019年 AAIM. All rights reserved.
//

#import "GroupMembersCell.h"

@implementation GroupMembersCell
-(instancetype)initWithFrame:(CGRect)frame
{
    if (self) {
        self=[super initWithFrame:frame];
//        self.backgroundColor=[UIColor redColor];
        _headImage=[[UIImageView alloc]initWithFrame:CGRectMake(self.width/2-22.5, 0, 45, 45)];
        _headImage.layer.masksToBounds=YES;
        _headImage.layer.cornerRadius=22.5;
        _headImage.backgroundColor=[UIColor whiteColor];
        [self addSubview:_headImage];
        
        _namelbl=[[UILabel alloc]initWithFrame:CGRectMake(0, _headImage.bottom+10, self.width, 15)];
        _namelbl.textColor=KHEXCOLOR(@"#262B2F");
        _namelbl.textAlignment=1;
//        _namelbl.text=@"大家好";
        _namelbl.font=[UIFont systemFontOfSize:11];
        [self addSubview:_namelbl];
    }
    return self;
}
@end
